# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=analyzepesig
pkgver=0.0.0.5
pkgrel=7
groups=('blackarch' 'blackarch-windows' 'blackarch-binary' 'blackarch-forensic')
pkgdesc='Analyze digital signature of PE file.'
arch=('any')
url='https://blog.didierstevens.com/my-software/#AnalyzePESig'
license=('custom:unknown')
depends=('python2' 'python2-pefile')
source=("http://didierstevens.com/files/software/AnalyzePESig_V${pkgver//./_}.zip")
sha512sums=('715ace00c076a54cdd15cebab2e0e150090581b6762ea4684e40dc3d99d754534c7580e4e173b3649b4e802c605337e61c0a72bdf610d2cc000c3a0db86ebc48')

package() {
  cd AnalyzePESig

  install -Dm 755 -t "$pkgdir/usr/share/windows/$pkgname/" \
    Release/AnalyzePESig-x86.exe x64/Release/AnalyzePESig-x64.exe
}

